<%@ page import="java.util.Date" %>
<%
    final String fileNamePrefix = "/home/ilya/private/sounds/";
    final String extension = ".wav";
%>

<?xml version="1.0" encoding="UTF-8"?>
<methods>
    <method>
        <method-name>answer</method-name>
        <method-param>
        </method-param>
    </method>
    <method>
        <method-name>recordCall</method-name>
        <method-param>
            <param-name>FileName</param-name>
            <param-type>java.lang.String</param-type>
            <%
                String fileName = fileNamePrefix + new Date().getTime() + extension;
            %>
            <param-value><%=fileName%>
            </param-value>
        </method-param>
    </method>
</methods>

